﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SourceCodeIoc.Factory
{
    public class AssemblyObjectCreateStrategy : IObjectCreateStrategy
    {
        public object CreateObject(Type type)
        {
            return type.Assembly.CreateInstance(type.FullName);
        }
    }
}
